//
//  ForgetPassWord2.m
//  HappyStore
//
//  Created by 点点充 on 16/1/12.
//  Copyright © 2016年 LLJ. All rights reserved.
//

#import "ForgetPassWord2.h"

@interface ForgetPassWord2 ()

@end

@implementation ForgetPassWord2

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //开启侧滑
    self.navigationController.interactivePopGestureRecognizer.delegate = (id)self;
    
}


- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField
{
    if (textField == _tfPassword1) {
        _imgV_Password1.image = [UIImage imageNamed:@"zc-bk-selected"];
    }
    
    if (textField == _tfPassword2) {
        _imgV_Password2.image = [UIImage imageNamed:@"zc-bk-selected"];
    }
    
    
    
    return YES;
}

- (void)textFieldDidEndEditing:(UITextField *)textField
{
    if (textField == _tfPassword1) {
        _imgV_Password1.image = [UIImage imageNamed:@"zc-bk-normal"];
    }
    
    if (textField == _tfPassword2) {
        _imgV_Password2.image = [UIImage imageNamed:@"zc-bk-normal"];
    }
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
